template<typename t>
t maxx(t t1 , t t2)
{
	if(t2<t1)
		return  t1;
	else if (t1<t2)
		return t2;
} 
template<typename x>
x minx(x val1,x val2)
{
	if(val1<val2)
		return val1;
	else if(val2<val1)
		return val2;
}